<?php

namespace app\api\model;

class BannerItem extends BaseModel
{
    public function img(){
        //一对一关联
        return $this->belongsTo('image','img_id','id');
    }
}
